#ifndef CCLIENTBOOK_H
#define CCLIENTBOOK_H

#include "protocol\gps.h"
#include "inetworking.h"

class CClientBook : public INetWorking
{
public:
    CClientBook(QObject *parent = 0);
    ~CClientBook();

public:
    virtual void prepareWriteData(QByteArray* block, void* param);
    virtual bool prepareReadData(QTcpSocket *pTcpSocket, protocal::BasePtc *basePtc);
    virtual void formResult();

private:
    char  userID[10];
    GPS startGPS;
    GPS endGPS;
    short waitingTime; //minutes
};

#endif // CCLIENTBOOK_H
